package com.ruoyi.logistic.service.impl;

import com.ruoyi.logistic.domain.NetworkExamineList;
import com.ruoyi.logistic.domain.NetworkExamineType;
import com.ruoyi.logistic.mapper.NetworkExamineTypeMapper;
import com.ruoyi.logistic.service.NetworkExamineTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class NetworkExamineTypeServiceImpl implements NetworkExamineTypeService {
    @Autowired
    private NetworkExamineTypeMapper networkExamineTypeMapper;
    @Override
    public List<NetworkExamineType> selectAll() {
        return networkExamineTypeMapper.selectAll();
    }

    @Override
    public Boolean insert(NetworkExamineType networkExamineType) {
        return networkExamineTypeMapper.insert(networkExamineType);
    }

    @Override
    public Boolean update(NetworkExamineType networkExamineType) {
        return networkExamineTypeMapper.update(networkExamineType);
    }

    @Override
    public Boolean deleteById(Integer id) {
        return networkExamineTypeMapper.deleteById(id);
    }
}
